package ch.dreamweb.readpractice.client.lesetraining.train.view;

import ch.dreamweb.readpractice.client.lesetraining.Constants.Unit;

import com.google.gwt.user.client.ui.Widget;

public interface MetaView {

	public interface Presenter {

		void onUnitButtonClicked(Unit unit);

		void onLogoutButtonClicked();

		void onStatisticButtonClicked(int unit);
	}

	void setUnitEnabled(Unit unit, boolean enabled);

	void setUnitVisible(Unit unit, boolean enabled);

	void setPresenter(Presenter presenter);

	void showFootprints(int recordLevel, int recordDayLevel, int panel);

	Widget asWidget();

	void setLogoutVisible(boolean visible);

	void setLabelHead(int testday, String username);

	void showGraph(int panel, int[] results, int coloured, int highestindex);

	void setLabelHeadText(String text);

	void setPanelTrainNumber(int number);
}
